import React from 'react';
import { RouteObject } from 'react-router-dom';
import UserManagement from './pages/sys/UserManagement';
import RoleManagement from './pages/sys/RoleManagement';
import MenuManagement from './pages/sys/MenuManagement';

const routes: RouteObject[] = [
  {
    path: '/sys/user-management',
    element: <UserManagement> </UserManagement>,
  },
  {
    element: <RoleManagement />,
    path: '/sys/role-management',
  },
  {
    path: '/sys/menu-management',
    element: <MenuManagement />,
  },
];

export default routes;
